Skip to content

feat(window): keep the look with the library, save the title on Enter, and say what a removed row became (0.13.9) - #13

Merged
nodemode-ai merged 20 commits into
mainfrom
feat/final-0.13.9
Nov 28, 2026
Merged

nodemode-ai merged 20 commits into
mainfrom
feat/final-0.13.9

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

feat(window): keep the look with the library, save the title on Enter, and say what a removed row became (0.13.9)

Summary

  • The theme, accent and Title field setting are kept by the engine in the data folder (window-look.json) and written into the page before it is sent, so the first frame is right on any port. Cause of the fault: they lived in browser storage, which is kept per port, and the desktop app's engine takes a new port on every launch. A look found only in browser storage is moved to the engine once.
  • Enter saves the title, like the other one-line fields; Shift+Enter and Ctrl or Cmd+Enter still save. The hint reads "Enter to save" and shows only while the title has focus.
  • In Fixed height the title box cuts cleanly at three lines, with a fade only when the title is longer. Preferences lists "Fixed height" first.
  • A merged, restored or deleted row leaves a centered placeholder that says what happened, and a restore can be undone in place.
  • The old public/splash.html is removed; nothing loaded it.

Commits

20 commits, oldest first, release commit last:

  • 11 feat (title on Enter, hint on focus, engine-held look in five steps, three-line cut, select order, trash and duplicates placeholders)
  • 4 fix (title overflow measured again, merge wording, title fade size, undo of a restore in place)
  • 3 docs (two log commits, notice)
  • 2 chore (old splash removed, release)

Version

v0.13.9 (release commit is last). Bumped: frontend/package.json, two fields in frontend/package-lock.json, frontend/src/version.ts, backend/app/__init__.py, src-tauri/Cargo.toml, the formcite entry in src-tauri/Cargo.lock, src-tauri/tauri.conf.json, native/formcite-style/Cargo.toml, its Cargo.lock entry and pyproject.toml, the "Current build version" line in the four HASHOUT_LOG.md files, the README badge, and a new CHANGELOG.md section.

Checks

  • npm run check and the import of app.main and app.cli passed at the head; the import passed at each of the 20 commits.
  • The library exit run in Chrome at CPU 4x with a slowed network, on the branch before the release commit: 0 layout shift on all 13 steps with and without input, the edited title showed in the list, and the page is served with Cache-Control: no-store.
  • The desktop shell: cargo check and a debug cargo build on Linux finished with no errors and no warnings, the first compile of this shell. Run on a virtual display, the new splash card showed with FormCite's icon.
  • By the slices, same throttling: the same data folder started on a second port with a fresh browser profile painted Ocean with the chosen accent at first paint, 0 shift; System mode painted the right theme with the system on dark and on light; six selections alternating a 300-character and a short title, Enter saving with one PATCH, merge, restore and undo all read 0 by click and by script.

Not run: the desktop run did not get past the splash to the library window. A stand-in launcher was used in place of the frozen engine and the window reported that it could not connect; the cause was not established. Nothing ran on macOS or Windows. The "Deleted for good." placeholder was not exercised in a browser.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

Enter, Shift+Enter and Ctrl or Cmd+Enter all save the title and never insert a line break; the hint now reads Enter to save.
The hint keeps its reserved space and toggles visibility so nothing moves.
A window-look.json file in the data folder holds mode, themes, accent and the title field setting, read and written by an authenticated window route.
The engine serves index.html with the saved look as escaped data attributes on the html element and no caching, so the first frame on any port is already right.
… overflows

Strips over the padding keep a fourth line from showing, and one measured attribute turns on a bottom fade only when the title runs past three lines.
Fixed height is the default, so it leads the list.
The boot script takes the look the engine wrote on the html element before browser storage and mirrors it into storage for the modules that read it.
Saves are merged and sent once the window key is in hand, and a failed send keeps the change for the next one.
Theme, accent and title field changes still go to browser storage and now also to the engine, and a look found only in storage is moved to the engine once.
The slot keeps its height but now reads as an intentional dashed placeholder with a plain sentence, and a restore offers Undo through the existing trash call.
The merged slot now names the kept title and where the extra copies went, with no undo since a merge also fills fields and moves files.
The desktop splash window loads splash/index.html, so the older splash.html was dead.
Records where the look is stored, how the served page carries it, the migration and the cross-port run.
The overflow mark skipped a hidden pane and was stale after a mode change, so a resize observer now measures it once the box has a size.
The merge toast read the extras are for one copy.
The bottom strip keeps one height in both states and only its gradient changes, which removes a small shift when moving between long and short titles.
Undo now puts the same row back where it was, so other placeholders keep their height until the next load.
…ders

Records the v0.13.9 title, fade and placeholder decisions with the measured results.
The formsubstrate row names the file that 0.13.9 removes and what replaced it.
Every version site moves to 0.13.9 and the changelog gets its section.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 28, 2026 03:57
@nodemode-ai
nodemode-ai merged commit edd6e84 into main Nov 28, 2026
7 checks passed
@nodemode-ai
nodemode-ai deleted the feat/final-0.13.9 branch December 1, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant